package com.egu.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class NoticeInfo {
    private Integer id;

    private String userName;

    private Integer userId;

    private String noticeItem;

    private String noticeContent;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date noticeTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date noticeEndtime;

    private String isUsed;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNoticeItem() {
        return noticeItem;
    }

    public void setNoticeItem(String noticeItem) {
        this.noticeItem = noticeItem == null ? null : noticeItem.trim();
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent == null ? null : noticeContent.trim();
    }

    public Date getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(Date noticeTime) {
        this.noticeTime = noticeTime;
    }

    public Date getNoticeEndtime() {
        return noticeEndtime;
    }

    public void setNoticeEndtime(Date noticeEndtime) {
        this.noticeEndtime = noticeEndtime;
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed == null ? null : isUsed.trim();
    }
}